/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.crossriver.crgis.database.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * This class is used by
 * {@link com.crossriver.crgis.database.service.http.Application_C_of_OServiceSoap}.
 * </p>
 *
 * @author    Wole Adetiba
 * @see       com.crossriver.crgis.database.service.http.Application_C_of_OServiceSoap
 * @generated
 */
public class Application_C_of_OSoap implements Serializable {
	public static Application_C_of_OSoap toSoapModel(Application_C_of_O model) {
		Application_C_of_OSoap soapModel = new Application_C_of_OSoap();

		soapModel.setApplicationId(model.getApplicationId());
		soapModel.setUserId(model.getUserId());
		soapModel.setApplicationStartDate(model.getApplicationStartDate());
		soapModel.setDateOfApplication(model.getDateOfApplication());
		soapModel.setFileNo(model.getFileNo());
		soapModel.setOldCofONo(model.getOldCofONo());
		soapModel.setApplication(model.getApplication());
		soapModel.setApplicationType(model.getApplicationType());
		soapModel.setDateOfIssuance(model.getDateOfIssuance());
		soapModel.setPreviousCofONumber(model.getPreviousCofONumber());
		soapModel.setLandUseType(model.getLandUseType());
		soapModel.setLandUsePurpose(model.getLandUsePurpose());
		soapModel.setAttestation(model.getAttestation());
		soapModel.setStatus(model.getStatus());
		soapModel.setReferenceNo(model.getReferenceNo());

		return soapModel;
	}

	public static Application_C_of_OSoap[] toSoapModels(
		Application_C_of_O[] models) {
		Application_C_of_OSoap[] soapModels = new Application_C_of_OSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static Application_C_of_OSoap[][] toSoapModels(
		Application_C_of_O[][] models) {
		Application_C_of_OSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new Application_C_of_OSoap[models.length][models[0].length];
		}
		else {
			soapModels = new Application_C_of_OSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static Application_C_of_OSoap[] toSoapModels(
		List<Application_C_of_O> models) {
		List<Application_C_of_OSoap> soapModels = new ArrayList<Application_C_of_OSoap>(models.size());

		for (Application_C_of_O model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new Application_C_of_OSoap[soapModels.size()]);
	}

	public Application_C_of_OSoap() {
	}

	public String getPrimaryKey() {
		return _applicationId;
	}

	public void setPrimaryKey(String pk) {
		setApplicationId(pk);
	}

	public String getApplicationId() {
		return _applicationId;
	}

	public void setApplicationId(String applicationId) {
		_applicationId = applicationId;
	}

	public String getUserId() {
		return _userId;
	}

	public void setUserId(String userId) {
		_userId = userId;
	}

	public Date getApplicationStartDate() {
		return _applicationStartDate;
	}

	public void setApplicationStartDate(Date applicationStartDate) {
		_applicationStartDate = applicationStartDate;
	}

	public Date getDateOfApplication() {
		return _dateOfApplication;
	}

	public void setDateOfApplication(Date dateOfApplication) {
		_dateOfApplication = dateOfApplication;
	}

	public String getFileNo() {
		return _fileNo;
	}

	public void setFileNo(String fileNo) {
		_fileNo = fileNo;
	}

	public String getOldCofONo() {
		return _oldCofONo;
	}

	public void setOldCofONo(String oldCofONo) {
		_oldCofONo = oldCofONo;
	}

	public String getApplication() {
		return _application;
	}

	public void setApplication(String application) {
		_application = application;
	}

	public String getApplicationType() {
		return _applicationType;
	}

	public void setApplicationType(String applicationType) {
		_applicationType = applicationType;
	}

	public Date getDateOfIssuance() {
		return _dateOfIssuance;
	}

	public void setDateOfIssuance(Date dateOfIssuance) {
		_dateOfIssuance = dateOfIssuance;
	}

	public String getPreviousCofONumber() {
		return _previousCofONumber;
	}

	public void setPreviousCofONumber(String previousCofONumber) {
		_previousCofONumber = previousCofONumber;
	}

	public String getLandUseType() {
		return _landUseType;
	}

	public void setLandUseType(String landUseType) {
		_landUseType = landUseType;
	}

	public String getLandUsePurpose() {
		return _landUsePurpose;
	}

	public void setLandUsePurpose(String landUsePurpose) {
		_landUsePurpose = landUsePurpose;
	}

	public String getAttestation() {
		return _attestation;
	}

	public void setAttestation(String attestation) {
		_attestation = attestation;
	}

	public String getStatus() {
		return _status;
	}

	public void setStatus(String status) {
		_status = status;
	}

	public String getReferenceNo() {
		return _referenceNo;
	}

	public void setReferenceNo(String referenceNo) {
		_referenceNo = referenceNo;
	}

	private String _applicationId;
	private String _userId;
	private Date _applicationStartDate;
	private Date _dateOfApplication;
	private String _fileNo;
	private String _oldCofONo;
	private String _application;
	private String _applicationType;
	private Date _dateOfIssuance;
	private String _previousCofONumber;
	private String _landUseType;
	private String _landUsePurpose;
	private String _attestation;
	private String _status;
	private String _referenceNo;
}